<p class="Paragraph"><help:to-be-embedded Eid="sqltext" xmlns:help="http://openoffice.org/2000/help"><help:help-text value="visible">The <span style="font-weight:bold;">SQL</span> command in a database context menu opens a dialog for direct input of an SQL command for database administration.</help:help-text></help:to-be-embedded></p>
<p class="Paragraph">The command entered does not lead to the display of filtered database content, the dialog is used only for input of administration commands such as Grant, Create Table, Drop Table, and so on. The data source must support these SQL commands - dBase, for example, cannot execute all the commands mentioned here for SQL. A special status window indicates if the command has been successfully executed.</p>
<p class="Paragraph">In order to execute an SQL query for filtering data from a database, open <help:link Id="66162" xmlns:help="http://openoffice.org/2000/help">Query Draft</help:link>.</p>
</span></th></tr></table>
<p class="Head2"><help:help-id value="OFFMGR_MULTILINEEDIT_DLG_MANUAL_SQL_MLE_SQL" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="DBACCESS_MULTILINEEDIT_DLG_DIRECTSQL_ME_SQL" xmlns:help="http://openoffice.org/2000/help"/>command to execute</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Enter the SQL statement in this field.</help:help-text></p>
<p class="Paragraph">In the opened "Bibliography" data source you can, for example, enter the following SQL command:</p>
<p class="Paragraph">SELECT "Address" FROM "biblio" "biblio"</p>
<p class="Paragraph">To obtain more comprehensive information on SQL commands, please consult the relevant literature on this subject.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Here you see the previous commands.</help:help-text> If you select a command, it is transferred to the <span class="T1">Command to execute</span> box.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">The SQL server status reports, created after the processing of the SQL statement are displayed here.</help:help-text> If errors are found in the SQL syntax, you'll receive an indication where to search for the error.</p>
<p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Click run to start the entered command.</help:help-text></p>